#ifndef __IDEA
#define __IDEA

#include <stdint.h>
#include "bits-set/bits.h"

#define IDEA_ROUNDS 8
#define IDEA_SUBKEYS 52
#define IDEA_INITIAL_KEYS 8
#define IDEA_DATA_BLOCK 4

#define IDEA_ADD_MODULUS 65536
#define IDEA_MULTIPLY_MODULUS 65537


void generate_subkeys(bit_array *initial_keys, uint16_t *subkeys);
void rounds(uint16_t *key, uint16_t *data);

#endif
